﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class M_Khach
    {
        #region Fields

        private int khachID;
        private string hovaten;
        private string ngaysinh;
        private string soCMND;
        private string gioitinh;
        private string sodienthoai;
        private string diachi;
        private string quoctich;

        #endregion

        #region Constructors

        /// <summary>
        /// Initializes a new instance of the Khach class.
        /// </summary>
        public M_Khach()
        {
        }

        /// <summary>
        /// Initializes a new instance of the Khach class.
        /// </summary>
        public M_Khach(string hovaten, string ngaysinh, string soCMND, string gioitinh, string sodienthoai, string diachi, string quoctich)
        {
            this.hovaten = hovaten;
            this.ngaysinh = ngaysinh;
            this.soCMND = soCMND;
            this.gioitinh = gioitinh;
            this.sodienthoai = sodienthoai;
            this.diachi = diachi;
            this.quoctich = quoctich;
        }

        /// <summary>
        /// Initializes a new instance of the Khach class.
        /// </summary>
        public M_Khach(int khachID, string hovaten, string ngaysinh, string soCMND, string gioitinh, string sodienthoai, string diachi, string quoctich)
        {
            this.khachID = khachID;
            this.hovaten = hovaten;
            this.ngaysinh = ngaysinh;
            this.soCMND = soCMND;
            this.gioitinh = gioitinh;
            this.sodienthoai = sodienthoai;
            this.diachi = diachi;
            this.quoctich = quoctich;
        }

        #endregion

        #region Properties
        /// <summary>
        /// Gets or sets the KhachID value.
        /// </summary>
        public virtual int KhachID
        {
            get { return khachID; }
            set { khachID = value; }
        }

        /// <summary>
        /// Gets or sets the Hovaten value.
        /// </summary>
        public virtual string Hovaten
        {
            get { return hovaten; }
            set { hovaten = value; }
        }

        /// <summary>
        /// Gets or sets the Ngaysinh value.
        /// </summary>
        public virtual string Ngaysinh
        {
            get { return ngaysinh; }
            set { ngaysinh = value; }
        }

        /// <summary>
        /// Gets or sets the SoCMND value.
        /// </summary>
        public virtual string SoCMND
        {
            get { return soCMND; }
            set { soCMND = value; }
        }

        /// <summary>
        /// Gets or sets the Gioitinh value.
        /// </summary>
        public virtual string Gioitinh
        {
            get { return gioitinh; }
            set { gioitinh = value; }
        }

        /// <summary>
        /// Gets or sets the Sodienthoai value.
        /// </summary>
        public virtual string Sodienthoai
        {
            get { return sodienthoai; }
            set { sodienthoai = value; }
        }

        /// <summary>
        /// Gets or sets the Diachi value.
        /// </summary>
        public virtual string Diachi
        {
            get { return diachi; }
            set { diachi = value; }
        }

        /// <summary>
        /// Gets or sets the Quoctich value.
        /// </summary>
        public virtual string Quoctich
        {
            get { return quoctich; }
            set { quoctich = value; }
        }

        #endregion
    }
}
